package com.jxnu.escms.Pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;
import java.util.Date;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Component
public class User {
    private Integer id;
    private String account;
    private String password;
    private String realName;
    private String email;
    private Integer age;
    private String sex;
    private String occupation;
    private String power;
    private String idCard;
    private Date loginData;
    private String phone;

    private String address;
    private String comName;
    private String build;
    private String nuit;
    private String door;

    private String healthCode;
    private String state;
    private String riskLevel;


    public User(String account, String password, String email) {
        this.account = account;
        this.password = password;
        this.email = email;
    }
}
